package cn.mw.cmdb.view;

import cn.mw.microMonitorCommon.api.cmdb.TableIdEnum;
import lombok.Data;

@Data
public class TableDropdownView {
    private String code;
    private String label;

    public void extractFrom(TableIdEnum tableIdEnum){
        this.code = tableIdEnum.getCode();
        this.label = tableIdEnum.getName();
    }
}
